home *** CD-ROM | disk | FTP | other *** search
Java Source | 1997-06-19 | 1.6 KB | 55 lines |
- package symantec.itools.awt;
-
-
- /**
- * BevelStyle is an interface for components with borders that can be drawn
- * different ways. The "raised" style makes the component appears raised above
- * the surrounding area, the "lowered" style makes the component appear lowered,
- * the "line" style draws a simple line around the component, and components with
- * the "none" style have nothing drawn around them.
- * @author Symantec
- */
- public interface BevelStyle
- {
- //--------------------------------------------------
- // constants
- //--------------------------------------------------
-
- /**
- * Defines the "lowered" shape border style. This makes the component appear
- * lower than the surrounding area.
- */
- public static final int BEVEL_LOWERED = 0;
-
- /**
- * Defines the "raised" shape border style. This makes the component appear
- * raised above the surrounding area.
- */
- public static final int BEVEL_RAISED = 1;
-
- /**
- * Defines the "line" shape border style. This draws a simple line around the
- * component.
- */
- public static final int BEVEL_LINE = 2;
-
- /**
- * Defines the "none" shape border style. This indicates the component will have
- * nothing drawn around its border.
- */
- public static final int BEVEL_NONE = 3;
-
-
- //--------------------------------------------------
- // methods
- //--------------------------------------------------
-
- /**
- * Sets the new border style.
- */
- public void setBevelStyle(int style);
- /**
- * Gets the current border style.
- */
- public int getBevelStyle();
- }